const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  publicPath: "./",
  productionSourceMap: false,
  devServer: {
    proxy: {
      "/": {
        // target: "http://songood.com.cn:1024",
        // target: "http://112.74.72.92:84",
        target: "http://112.74.72.92:8086",
        changeOrigin: true,
        pathRewrite: {
          "^/": "",
        },
        ws: false,
      },
    },
    headers: {
      "Access-Control-Allow-Origin": "*",
    },
  },
});
